package com.supermap.dubbo.api.agrinfo.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author:langhongshuai
 * @Description:作物类
 * @Date:18/1/8 上午11:37
 */
@SuppressWarnings("serial")
public class FarmingType implements Serializable{

    /**
     * 农事种类id
     */
    private int id;

    /**
     *字典编码
     */
    private String code;

    /**
     *字典名称
     */
    private String name;

    /**
     *描述
     */
    private String description;

    /**
     *字典级别
     */
    private int level;

    /**
     *父ID
     */
    private int parentid;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 农事种类图标
     */
    private String imgIco;

    private List<FarmingType> childNode;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getParentid() {
        return parentid;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getImgIco() {
        return imgIco;
    }

    public void setImgIco(String imgIco) {
        this.imgIco = imgIco;
    }

    public List<FarmingType> getChildNode() {
        return childNode;
    }

    public void setChildNode(List<FarmingType> childNode) {
        this.childNode = childNode;
    }
}
